package com.bx.service.impl;

import com.bx.mapper.BookMapper;
import com.bx.pojo.Book;
import com.bx.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Name BookServiceImpl
 * @Author BaiXin
 * @Date 2022-10-22 19:17
 */
@Service
public class BookServiceImpl implements BookService {

    @Autowired
    private BookMapper bookMapper;

    @Override
    public Book findById(Integer id) {
        return bookMapper.findById(id);
    }
}
